package com.zjp.model.order;

import java.util.Date;

/**
 * 订单表
 * @author Administrator
 *
 */
public class Orderinfo {

	/**
	 * id
	 */
	private long id;
	/**
	 * 商品id
	 */
	private long productId;
	/**
	 * 店铺id
	 */
	private long shopId;
	/**
	 * 用户id 收货人信息
	 */
	private long userId;
	/**
	 * 用户表t_user主键（配送员信息）
	 */
	private long lUserId;
	/**
	 * 商品总数
	 */
	private int pcount;
	/**
	 * 订单状态
	 */
	private  int status;
	/**
	 * 商品总价
	 */
	private float payment;
	/**
	 * 运费
	 */
	private float fee;
	/**
	 * 创建时间
	 */
	private Date created;
	/**
	 * 修改时间
	 */
	private Date modifyd;
	/**
	 * 删除时间
	 */
	private Date deleted;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getProductId() {
		return productId;
	}
	public void setProductId(long productId) {
		this.productId = productId;
	}
	public long getShopId() {
		return shopId;
	}
	public void setShopId(long shopId) {
		this.shopId = shopId;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public long getlUserId() {
		return lUserId;
	}
	public void setlUserId(long lUserId) {
		this.lUserId = lUserId;
	}
	public int getPcount() {
		return pcount;
	}
	public void setPcount(int pcount) {
		this.pcount = pcount;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public float getPayment() {
		return payment;
	}
	public void setPayment(float payment) {
		this.payment = payment;
	}
	public float getFee() {
		return fee;
	}
	public void setFee(float fee) {
		this.fee = fee;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public Date getModifyd() {
		return modifyd;
	}
	public void setModifyd(Date modifyd) {
		this.modifyd = modifyd;
	}
	public Date getDeleted() {
		return deleted;
	}
	public void setDeleted(Date deleted) {
		this.deleted = deleted;
	}
	public Orderinfo(long id, long productId, long shopId, long userId,
			long lUserId, int pcount, int status, float payment, float fee,
			Date created, Date modifyd, Date deleted) {
		super();
		this.id = id;
		this.productId = productId;
		this.shopId = shopId;
		this.userId = userId;
		this.lUserId = lUserId;
		this.pcount = pcount;
		this.status = status;
		this.payment = payment;
		this.fee = fee;
		this.created = created;
		this.modifyd = modifyd;
		this.deleted = deleted;
	}
	public Orderinfo() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	

}
